# thrift = require 'thrift'
# user = require __basename + '/helpers/gen-nodejs/AccountService'
# usertypes = require __basename + '/helpers/gen-nodejs/AccountCenter_types'
# server = require __basename + '/connect/thrift/thrift'
# client = thrift.createClient user, server

module.exports =

  login : (email, password, fn) ->
    client.login email, password, (err, results) ->
      fn err, results